package arbore;

import visitors.Visitor;

public abstract class NodAbstract 
{
	protected int x;
	
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public String toString() {
		return " " + x + " ";
	}

	public abstract void acceptVisitor(Visitor v);

}
